#ifndef _LIST_H_
#define _LIST_H_
#include "main.h"
typedef struct Node{
	uint32_t id;
	uint32_t LastPressOn;
	uint32_t LastPressOff;
	uint32_t length;
	struct Node *next;
}Node;
void InsertList(uint32_t id,uint32_t LastPressOn,uint32_t LastPressOff);
void DeleteList(uint32_t id);
void SaveListToFlash();
void restore();
Node * FindList(uint32_t id);
uint32_t PosList(Node * pos);
#endif